export default class BeanComputer{
	
	constructor(cid,cname,tag,ip)
	{
//		console.info('class BeanComputer init');
		this._cId = cid;
		this._cName = cname;
		this._tag = tag;
		this._ip = ip;
//		return this;
	}
	
	clear()
	{
//		console.info('class BeanComputer clear');
		this._cId = null;
		this._cName = null;
		this._tag = null;
		this._ip = null;
	}
	
	msg()
	{
		console.info('{class BeanComputer msg}[id]' + this._cId + "[name]" + this._cName + "[tag]" + this._tag + "[ip]" + this._ip );
	}
	
    get cId(){
//        console.log('getter');
        return this._cId;
    }
    set cId(val){
//        console.log('setter');
        this._cId = val;
    }
    get cName(){
//        console.log('getter');
    	return this._cName;
    }
    set cName(val){
//        console.log('setter');
    	this._cName = val;
    }
    get tag(){
//        console.log('getter');
    	return this._tag;
    }
    set tag(val){
//        console.log('setter');
    	this._tag = val;
    }
    get ip(){
//        console.log('getter');
    	return this._ip;
    }
    set ip(val){
//        console.log('setter');
    	this._ip = val;
    }
}